If you’re starting from scratch, begin at Step 1. If you already have an existing repository that you’d like to create a GitHub page for, skip to Step ?.

Step 1: Create a new repository on GitHub

Do so by navigating to Repositories > New. Give your repo an informative name and a description, if you'd like. Initializing it with a README and a .gitignore is recommended.

Do so by navigating to Repositories > New. Give your repo an informative name and a description, if you’d like. Initializing it with a README and a .gitignore is recommended.

Step 2: Clone your respository to your computer

Step 2.1: Copy your repository URL from GitHub

Click on the green 'Code' button and copy the URL to your clipboard.

Click on the green ‘Code’ button and copy the URL to your clipboard.

Step 2.2: Create a new project in RStudio.

In RStudio, click on Project (top right hand corner) > New Project.

In RStudio, click on Project (top right hand corner) > New Project.

Step 2.3: Select “Version Control.”

Step 2.4: Select “Git.”

Step 2.5: Paste the repo URL and press the ‘Tab’ button on your keyboard to auto-fill the Project Directory Name. Click ‘Create Project.’

Remember to choose where you would like to save your project by clicking on the 'Browse' button and picking a subdirectory. I like to save all my projects under a 'Repositories' subdirectory for the sake of organization.

Remember to choose where you would like to save your project by clicking on the ‘Browse’ button and picking a subdirectory. I like to save all my projects under a ‘Repositories’ subdirectory for the sake of organization.

Step 3: Create an RMarkdown file and make some edits.

Step 3.1: